package com.globalLogic.gps.maps.elements;

import com.globalLogic.geometry.Segment;

public class RoadWithHoll extends RoadDecorator {

	public RoadWithHoll(Road pRoad) {
		super(pRoad);
		
	}
	
	
	
	public double getPrice()
	{
		
		return 100d;
	}
	
	public boolean haveToll()
	{
		return true;
	}
	
	protected Segment getSegment() {
		return getRoad().getSegment();
	}
	
	public boolean isAsphalt()
	{
		return getRoad().isAsphalt();
	}
	
	
	public boolean isDirty()
	{
		return getRoad().isDirty();
	}

	
}
